import { FastifyInstance } from "fastify";
import { City } from "@db";

export const cities = async (fastify: FastifyInstance) => {
    fastify.get("/cities", async (req, res) => {
        return res.send(await City.findAll());
    });
};
